import sys
import yaml
import json

yfile=sys.argv[1]
jfile=sys.argv[2]

yf=open(yfile, 'r')
jf=open(jfile, 'w')

o=yaml.load(yf)
yf.close()

jf.write(json.dumps(o))
jf.close()
